<div id= "messages">
		<table style="font-family: verdana; font-size:12px;">
		  <tr>
		   <td class="title">From:</td>
		   <td><?php echo ucwords( strtolower( $message['lastname']))?>, <?php echo ucwords( strtolower($message['firstname']))?> <?php echo ucwords( strtolower($message['middlename'])) ?></td>
		  </tr>
		  <tr>
		   <td class="title">Date:</td>
		   <td><?php View::show(date('l, F jS,  Y h:i:s A', strtotime($message['date']) + 8*3600)) ?></td>
		  </tr>
		  <tr>
		   <td class="title">Subject:</td>
		   <td><?php View::show($message['subject']) ?></td>
		  </tr>
		  
		  <tr>
		   <td class="title">Message:</td>
		   <td><?php View::show( nl2br( $message['message']) ) ?></td>
		  </tr>

		 </table>
		<form action="/messages/action" method="post">
			<input name="msgids[]" type="hidden" value="<?php View::show( $message['message_id'] ) ?>" />
			<input name="referrer" type="hidden" value="<?php echo $referrer ?>" />
			<input name="sender" type="hidden" value="<?php View::show($message['sender_id'])?>" />
			<input type="submit" value="Reply" name="action"/>
			<input type="submit" value="Delete" name="action"/>
		 </form>
		
	<br class="clear"/>
</div>